import request from '@/utils/http'

//资讯 知识库标签字典
export const articleType = () => {
  return request.get({
    url: '/api/task/detail/get/article/type'
  })
}

export const educationList = (params: any, banRepeatCancel) => {
  return request.post({
    url: '/api/task/detail/article/page',
    data: params,
    banRepeatCancel: banRepeatCancel
  })
}

//资讯 获取健康宣教文章
export const educationInfo = (params: any) => {
  return request.get({
    url: '/api/task/detail/education/info/' + params
  })
}

//管理方案已读未读
export const readDetail = (params: any) => {
  return request.post({
    url: '/api/task/detail/is/read',
    data: params
  })
}
